package com.dxd.onlineshop.service;

import com.dxd.onlineshop.pojo.Categories;
import com.dxd.onlineshop.pojo.Product;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CategoriesService {
    //获取商品所有分类
    List<Categories> getCategories();

    //获取所有商品
    List<Product> getProducts();
}
